package com.yike.user.convert;

import com.yike.user.entity.Machine;
import com.yike.common.vo.MachineVo;
import com.yike.user.param.BandMachineParam;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MachineConvert {

    MachineConvert INSTANCE = Mappers.getMapper(MachineConvert.class);

    MachineVo convert(Machine machine);

    Machine convert(BandMachineParam machine);

}
